import request from '@/utils/request.js'
//平台规则   
export function PlatformInfo(page, page_size, type) {
    return request({
        url: `/information/index?page=${page}&page_size=${page_size}&type=${type}`,
        method: "get",
    });
}

//平台详情 
export function PlatformInfoList(id, type) {
    return request({
        url: `/information/detail?id=${id}&type=${type}`,
        method: "get",
    });
}

//关于我们 http://localhost:8085/api/information/about_us
export function AboutUs(params) {
    return request({
        url: 'information/about_us',
        method: "get",
        params: params
    });
}

//提交反馈
export function FeedbackSave(data){
    return request({
     url: "/feedback/save",
     method: "post",
     data
   });
  }
